import { defineStore } from "pinia";

export const useMassifStore = defineStore("massif", () => {
  const massifList = ref([
    {
      num: "N8491031",
      name: "晋州市总十庄镇永丰村",
      potext: "河北省晋州市总十庄镇永丰村",
      state: 0,
      type: "耕地",
      area: "600",
      people: "赵大庆",
      village: "村委会",
      marker: [115.08385756283997, 37.893308037607014],
      polygon: [
        [115.08236625462769, 37.89447643617547],
        [115.08262374669312, 37.89195334938579],
        [115.0855205324292, 37.89198721689513],
        [115.08513429433106, 37.894374837036096],
      ],
      scene: 'scene_03_________1'
    },
    {
      num: "N8491032",
      name: "晋州市槐树镇祁底村",
      potext: "河北省晋州市槐树镇祁底村",
      state: 0,
      type: "耕地",
      area: "560",
      people: "李春利",
      village: "村委会",
      marker: [115.06575860649349, 38.10668185962623],
      polygon: [
        [115.06446041733028, 38.10762737147904],
        [115.06463207870723, 38.10529733804846],
        [115.06727137237789, 38.105432414479374],
        [115.06692804962398, 38.1076949075717],
      ],
      scene: 'scene_00_________1'
    },
    {
      num: "N8491033",
      name: "晋州市东里庄镇东里庄",
      potext: "河北省晋州市东里庄镇东里庄",
      state: 1,
      type: "耕地",
      area: "456",
      village: "村委会",
      marker: [115.08252026841046, 37.933298899872526],
      polygon: [
        [115.08087875649335, 37.93428049947997],
        [115.08111479088666, 37.931944947871436],
        [115.08414032265546, 37.9320464951365],
        [115.08383991524579, 37.93438204351882],
      ],
    },
    {
      num: "N8491034",
      name: "晋州市小樵镇小樵村",
      potext: "河北省晋州市小樵镇小樵村",
      state: 1,
      type: "耕地",
      area: "465",
      village: "村委会",
      marker: [115.18855032965541, 38.10570657982078],
      polygon: [
        [115.18778858229518, 38.10698978864316],
        [115.18727359816427, 38.10508185157857],
        [115.1892691616714, 38.10472727371331],
        [115.18980560347438, 38.10658456723954],
      ],
    },
    {
      num: "N8491035",
      name: "晋州市周家庄乡刘靳庄",
      potext: "河北省晋州市周家庄乡刘靳庄",
      state: 1,
      type: "耕地",
      area: "356",
      village: "村委会",
      marker: [115.07868889376522, 38.02430884039243],
      polygon: [
        [115.07810954064132, 38.0250779372528],
        [115.07806662529708, 38.02331999453919],
        [115.07967595070602, 38.02293121305156],
        [115.07974032372238, 38.025061034158306],
      ],
    },
    {
      num: "N8491036",
      name: "晋州市东卓宿镇北白滩村",
      potext: "河北省晋州市东卓宿镇北白滩村",
      state: 1,
      type: "耕地",
      area: "245",
      village: "村委会",
      marker: [115.18112077161669, 38.018768428908196],
      polygon: [
        [115.17997278615832, 38.0193431812878],
        [115.18012298986315, 38.01794010137303],
        [115.18224729940295, 38.01804152973748],
        [115.18205418035387, 38.019495320869076],
      ],
    },
    {
      num: "N8491037",
      name: "晋州市营里镇营里村",
      potext: "河北省晋州市营里镇营里村",
      state: 1,
      type: "耕地",
      area: "259",
      village: "村委会",
      marker: [115.09508908376097, 37.81840584786961],
      polygon: [
        [115.0918167887628, 37.82005004371943],
        [115.0922673998773, 37.816388691595336],
        [115.09851158246397, 37.816727713310044],
        [115.0982111750543, 37.820405998822906],
      ],
    },
    {
      num: "N8491038",
      name: "晋州市桃园镇桃园村",
      potext: "河北省晋州市桃园镇桃园村",
      state: 2,
      type: "耕地",
      area: "652",
      village: "村委会",
      marker: [115.00615905717012, 37.95693933986225],
      polygon: [
        [115.00488232567903, 37.95766684466264],
        [115.00561188653114, 37.95590728580676],
        [115.00760745003817, 37.95604263798452],
        [115.00674914315346, 37.95808980925718],
      ],
    },
    {
      num: "N8491039",
      name: "晋州市营里镇张十字庄",
      potext: "河北省晋州市营里镇张十字庄",
      state: 2,
      type: "耕地",
      area: "378",
      village: "村委会",
      marker: [115.13900944903492, 37.825196912250206],
      polygon: [
        [115.13818332865833, 37.82621385135683],
        [115.13811895564197, 37.824349452289844],
        [115.14020034983753, 37.824163009792585],
        [115.14032909587024, 37.82601046465661],
      ],
    },
    {
      num: "N8491040",
      name: "晋州市小樵镇西龙化村",
      potext: "河北省晋州市小樵镇西龙化村",
      state: 2,
      type: "耕地",
      area: "654",
      village: "村委会",
      marker: [115.10760004386304, 38.05509769423341],
      polygon: [
        [115.10628039702772, 38.05606076928546],
        [115.1062589393556, 38.05418529565208],
        [115.10885531768201, 38.053982538867174],
        [115.10896260604261, 38.056162144869546],
      ],
    },
  ]);
  return {
    massifList,
  };
});
